package com.lcl.stock.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @ClassName HttpClientConfig
 * @Description TODO： 定义Http客户端工具Bean
 * @Author 28901
 * @Date 2025/2/26 20:49
 * @Version 1.0
 */
@Configuration
public class HttpClientConfig {

    /**
     * 定义Http客户端Bean
     * @return
     */
    @Bean
    public RestTemplate restTemplate(){
        return new RestTemplate();
    }
}
